package com.nativetalk.service.membsetmeal.search;

import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.member.TdNtMember;
import com.nativetalk.bean.member.setmeal.TdNtMembSetmealDetail;

/**
 * Created by lizhun on 16/1/5.
 */
public interface MembSetmealSearchService {
    /**
     * @Purpose  根据用户id查找用户套餐列表
     * @version  2.1
     * @author   lizhun
     * @param    tdNtMember
     * @param    currentPage
     * @param    pageSize
     * @return   RetInfo
     */
    public RetInfo findMembSetmealByMembId(TdNtMember tdNtMember , int currentPage, int pageSize);
    /**
     * @Purpose  根据用户id查找用户套餐列表(已完成)
     * @version  1.0
     * @author   lizhun
     * @param    memb_id
     * @param    currentPage
     * @param    pageSize
     * @return   RetInfo
     */
    public RetInfo findfinishMembSetmealByMembId(Integer memb_id, int currentPage, int pageSize);
    /**
     * @Purpose  根据用户id及课程id查找用户套餐信息及余额
     * @author   lizhun
     * @param    memb_id
     * @param    cou_id
     * @return   RetInfo
     */
    public RetInfo findMembSetmealByMembIdCouId(Integer memb_id, int cou_id);
    /**
     * @Purpose  根据用户id及课程id查找用户套餐
     * @author   lizhun
     * @param    memb_id
     * @param    cou_id
     * @return   TdNtMembSetmealDetail
     */
    public TdNtMembSetmealDetail findMembSetmealByMembIdCouIdTwo(Integer memb_id, int cou_id);
}
